/**
*┌──────────────────────────────────────────────────────────────┐
*│　描    述：                                                    
*│　作    者：gaotang                                              
*│　版    本：1.0   模板代码自动生成                                              
*│　创建时间：2019-03-29 18:22:35                            
*└──────────────────────────────────────────────────────────────┘
*┌──────────────────────────────────────────────────────────────┐
*│　命名空间: BestTrader.Cms.Models                                  
*│　类    名：UCGomePayDF                                     
*└──────────────────────────────────────────────────────────────┘
*/
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace BestTrader.Cms.Models
{
    /// <summary>
    /// gaotang
    /// 2019-03-29 18:22:35
    /// 
    /// </summary>
    [Table("UCGomePayDF")]
    public class UCGomePayDF
    {
        /// <summary>
        ///  
        /// </summary>
        [Key]
        public Int32 Id { get; set; }

        /// <summary>
        /// 订单流水
        /// </summary>
        /// 
        [Required]
        [MaxLength(50)]
        public String OrderNumber { get; set; }
        /// <summary>
        /// 代付币种
        /// </summary>
        [Required]
        [MaxLength(20)]
        public String Currency { get; set; }

        /// <summary>
        /// 代付金额
        /// </summary>
        [Required]
        [MaxLength(10)]
        public String Amount { get; set; }

        /// <summary>
        /// 银行账户
        /// </summary>
        [Required]
        [MaxLength(50)]
        public String AccountNumber { get; set; }
        /// <summary>
        /// 账户名
        /// </summary>
        [MaxLength(50)]
        public String CustomerName { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        [MaxLength(60)]
        public String UserName { get; set; }
        
        /// <summary>
        /// 发卡行名称
        /// </summary>
        [Required]
        [MaxLength(50)]
        public String IssueBankName { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [MaxLength(200)]
        public String Memo { get; set; }

        /// <summary>
        /// 代付返回的orderId
        /// </summary>
        [MaxLength(50)]
        public String GPOrderId { get; set; }

        /// <summary>
        /// 返回状态码
        /// </summary>
        [MaxLength(50)]
        public String GPCode { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        [Required]
        [MaxLength(10)]
        public Int32 State { get; set; }

        /// <summary>
        ///  
        /// </summary>
        [MaxLength(10)]
        public Int32? ManagerId { get; set; }

        /// <summary>
        ///  
        /// </summary>
        [Required]
        [MaxLength(23)]
        public DateTime AddTime { get; set; }

        /// <summary>
        ///  
        /// </summary>
        [MaxLength(10)]
        public Int32? AddManagerId { get; set; }

        /// <summary>
        ///  
        /// </summary>
        [MaxLength(10)]
        public Int32? ModifyManagerId { get; set; }

        /// <summary>
        ///  
        /// </summary>
        [MaxLength(23)]
        public DateTime? ModifyTime { get; set; }


    }
}
